cmake_minimum_required(VERSION 3.12)
project(main)
set(CMAKE_BUILD_TYPE debug)
# set(CMAKE_CXX_STANDARD 20)
# set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_PREFIX_PATH "C:/Users/xd15zhn/Documents/cpplibraries")
find_package(nlohmann_json REQUIRED)
find_package(SQLiteCpp REQUIRED)

set(PROJECT_SOURCES
    ${PROJECT_SOURCE_DIR}/main.cpp
)
include_directories(${SQLiteCpp_INCLUDE_DIRS})
add_executable(${CMAKE_PROJECT_NAME} ${PROJECT_SOURCES})
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC
    nlohmann_json::nlohmann_json
    SQLiteCpp
)